import request from '@/utils/request'

// 营业报表查询
export function cwDealPerDayList(query) {
  return request({
    url: '/finance/cw-deal-per-day/list',
    method: 'post',
    data: query
  })
}

// 营业报表数据求和
export function sumList(query) {
  return request({
    url: '/finance/cw-deal-per-day/sumList',
    method: 'post',
    data: query
  })
}

// 营业报表数据查看
export function shourumingxi(query) {
  return request({
    url: '/finance/cw-deal-per-day/shourumingxi',
    method: 'post',
    data: query
  })
}

// 营业报表数据查看
export function chaKanXinXiTongJi(query) {
  return request({
    url: '/finance/cw-deal-per-day/chaKanXinXiTongJi',
    method: 'post',
    data: query
  })
}
//上一天营业报表数据查看
export function chaKanXinXiTongJi1(query) {
  return request({
    url: '/finance/cw-deal-per-day/chaKanXinXiTongJi1',
    method: 'post',
    data: query
  })
}

//上一天
export function tosday(query) {
  return request({
    url: '/finance/cw-deal-per-day/tosday',
    method: 'post',
    data: query
  })
}
//下一天
export function ttday(query) {
  return request({
    url: '/finance/cw-deal-per-day/ttday',
    method: 'post',
    data: query
  })
}
//下一天营业报表数据查看
export function chaKanXinXiTongJi2(query) {
  return request({
    url: '/finance/cw-deal-per-day/chaKanXinXiTongJi2',
    method: 'post',
    data: query
  })
}
